package lab02.test13;

/**
 * Created by mac on 2017/10/19.
 */
public class School extends ComputerAverage {
    @Override
    double average() {

        double sum = 0;
        for (int i = 0; i < 5; i++){
            sum +=scores[i];
        }

        return sum / 5;

    }
}
